document.getElementById('hidden_fields').style.display = 'none';
function hideFields(hide){
        document.getElementById('hidden_fields').style.display = hide ? 'none' : 'block';
}